package com.atguigu.service;

import com.atguigu.base.BaseService;
import com.atguigu.entity.Dict;

import java.util.List;
import java.util.Map;

/**
 * @author tangsy
 * @Description TODO
 * @date 2022/9/17 9:33
 * @Version 1.0
 */
public interface DictService extends BaseService<Dict> {

    List<Map<String,Object>> findZnodes(Long parentId);

    /**
     * 根据编码获取子节点数据列表
     * @param dictCode
     * @return
     */
    List<Dict> findListByDictCode(String dictCode);

    List<Dict> findListByParentId(Long parentId);

    String getNameById(Long houseTypeId);
}
